Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcSearchFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text in which you want to search for find_text.

[Start_num] is the character number in within_text at which you want to start searching, the default value is 1.

locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcSearchFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 2 - 3 items: find_text, within_text, [start_num].

Find_text is the text you want to find.

Within_text is the text in which you want to search for find_text.

[Start_num] is the character number in within_text at which you want to start searching, the default value is 1.

Return Value

A System.String value that indicates the evaluate result.
See Also

Reference

CalcSearchFunction Class
CalcSearchFunction Members
Overload List